package com.cblz.bd.server.core.entity.properties;

import com.pig4cloud.captcha.base.Captcha;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * {@code @Name:} CaptchaProperties
 * {@code @Description: } 验证码配置类
 * {@code @Author:} by yanjieping
 * {@code @CreateDate:} 2022/11/7 - 周一
 */
@Data
@ConfigurationProperties(prefix = "ba-admin.captcha")
public class CaptchaProperties {

    private Integer width;
    private Integer height;
    private Integer digits;
    private Integer fontStyle = Captcha.FONT_1;
    private Integer captchaCharType = Captcha.TYPE_DEFAULT;
    private Long expiredTime;
}
